//
//  MBProgressHUD+GIFImage.m
//  LYKitDemo
//
//  Created by Mac-Mini-KingVision on 16/1/22.
//  Copyright © 2016年 LiuWenYang. All rights reserved.
//

#import "MBProgressHUD+GIFImage.h"

#import <objc/runtime.h>

static const void *gifImageViewKey = &gifImageViewKey;

@implementation MBProgressHUD (GIFImage)

@dynamic GifImageView;

-(UIImageView *)GifImageView
{
    return objc_getAssociatedObject(self, gifImageViewKey);
}

-(void)setGifImageView:(UIImageView *)GifImageView
{
    objc_setAssociatedObject(self, gifImageViewKey, GifImageView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

@end
